﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace Oliving.Edge.Model.Models.XLT
{


    /// <summary>
    /// 项目表
    /// </summary>
    [SugarTable("WY_Project")]
    [Serializable]
    public class WY_Project : BaseEntity
    {
        [SugarColumn(IsPrimaryKey = true, ColumnName = "Id", ColumnDescription = "主键", Length = 50, ColumnDataType = "nvarchar")]
        public string Id { get; set; } = Guid.NewGuid().ToString();   /*编号*/




        /// <summary>
        /// 公司ID
        /// </summary>
        [SugarColumn(ColumnName = "ComID", ColumnDescription = "公司ID", IsNullable = true, Length = 50, ColumnDataType = "nvarchar")]
        public string ComID { get; set; }



        /// <summary>
        /// 项目名称
        /// </summary>
        [SugarColumn(ColumnName = "ProName", ColumnDescription = "项目名称",
    IsNullable = true, Length = 50, ColumnDataType = "nvarchar")]
        public string ProName { get; set; }  /*项目名称*/


        /// <summary>
        /// 项目地址
        /// </summary>
        [SugarColumn(ColumnName = "ProAddress", ColumnDescription = "项目地址",
    IsNullable = true, Length = 50, ColumnDataType = "nvarchar")]
        public string ProAddress { get; set; }     /*项目地址*/


        /// <summary>
        /// 甲方名称
        /// </summary>
        [SugarColumn(ColumnName = "PartyA", ColumnDescription = "甲方名称",
    IsNullable = true, Length = 50, ColumnDataType = "nvarchar")]
        public string PartyA { get; set; }   /*甲方名称*/


        /// <summary>
        /// 甲方联系人
        /// </summary>
        [SugarColumn(ColumnName = "PartyAUserName", ColumnDescription = "甲方联系人",
    IsNullable = true, Length = 50, ColumnDataType = "nvarchar")]
        public string PartyAUserName { get; set; }    /*甲方联系人*/

        /// <summary>
        /// 甲方联系电话
        /// </summary>
        [SugarColumn(ColumnName = "PartyAPhone", ColumnDescription = "甲方联系电话", IsNullable = true, Length = 50, ColumnDataType = "nvarchar")]
        public string PartyAPhone { get; set; }     /*甲方联系电话*/

        /// <summary>
        /// 项目负责人
        /// </summary>
        [SugarColumn(ColumnName = "ProUser", ColumnDescription = "项目负责人", IsNullable = true, Length = 50, ColumnDataType = "nvarchar")]
        public string ProUser { get; set; }   /*项目负责人*/


        /// <summary>
        /// 纬度
        /// </summary>
        [SugarColumn(ColumnName = "Lat", ColumnDescription = "纬度", IsNullable = true, Length = 50, ColumnDataType = "nvarchar")]
        public string Lat { get; set; }  /*纬度*/



        /// <summary>
        /// 经度
        /// </summary>
        [SugarColumn(ColumnName = "Lng", ColumnDescription = "经度", IsNullable = true, Length = 50, ColumnDataType = "nvarchar")]
        public string Lng { get; set; }   /*经度*/



        /// <summary>
        /// 描述
        /// </summary>
        [SugarColumn(ColumnName = "ProRemark", ColumnDescription = "描述", IsNullable = true, Length = 50, ColumnDataType = "nvarchar")]
        public string ProRemark { get; set; }  /*描述*/



    }
}
